<?php
$action = isset($_GET['a'])?$_GET['a']:'index';
//执行动作文件
$file = 'controller/'.$action.'.php';
if(is_file($file))
{
	require $file;
}
else
{
	echo 'error.';
}